-
Notifications
You must be signed in to change notification settings - Fork 24
:chore: ITEP-66905 - UI components cleanup [PART 2] #228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
A refactor PR targeting UI component cleanup and import consolidations in the annotator and analytics sections.
- Consolidated and unified import statements across multiple components
- Adjusted export settings for an interface and a component
- Removed dead code and updated package imports to use meta packages
Reviewed Changes
Copilot reviewed 78 out of 80 changed files in this pull request and generated no comments.
Show a summary per file
File | Description |
---|---|
web_ui/src/pages/annotator/tools/ssim-tool/secondary-toolbar.component.tsx | Combined import statements from separate packages |
web_ui/src/pages/annotator/tools/rotated-bounding-box-tool/secondary-toolbar.component.tsx | Combined import statements from separate packages |
web_ui/src/pages/annotator/tools/polygon-tool/secondary-toolbar.component.tsx | Combined import statements from separate packages |
web_ui/src/pages/annotator/tools/polygon-tool/polygon-tool.interface.ts | Removed export from an interface |
web_ui/src/pages/annotator/tools/keypoint-tool/secondary-toolbar.component.tsx | Combined import statements from separate packages |
web_ui/src/pages/annotator/tools/grabcut-tool/secondary-toolbar.component.tsx | Combined import statements from separate packages |
web_ui/src/pages/annotator/tools/explanation-tool/select-model.component.tsx | Changed export declaration to a local const |
web_ui/src/pages/annotator/tools/circle-tool/secondary-toolbar.component.tsx | Combined import statements from separate packages |
web_ui/src/pages/annotator/tools/bounding-box/secondary-toolbar.component.tsx | Combined import statements from separate packages |
web_ui/src/pages/annotator/components/video-player/propagate-annotations/propagate-annotations-dialog.component.tsx | Updated import for Heading to use meta package |
web_ui/src/pages/annotator/components/sidebar/annotations/annotations-header.component.tsx | Combined import statements from separate packages |
web_ui/src/pages/annotator/components/secondary-toolbar/replace-or-merge-user-annotations-dialog.component.tsx | Updated import for Heading to use meta package |
web_ui/src/pages/annotator/components/primary-toolbar/primary-toolbar.component.tsx | Consolidated Provider and View imports from meta package |
web_ui/src/pages/annotator/components/labels/selectable-label-tag/selectable-label-tag.component.tsx | Updated import for View to use meta package |
web_ui/src/pages/annotator/components/labels/label-search/label-result-panel.component.tsx | Consolidated import statements from separate packages |
web_ui/src/pages/annotator/components/footer/annotator-footer.component.tsx | Consolidated import statements from separate packages |
web_ui/src/pages/annotator/annotation/annotation-filter/corner-indicator.component.tsx | Updated import for View to use meta package |
web_ui/src/pages/analytics/analytics-dashboard-card.component.tsx | Updated import for Heading to use meta package and consolidated imports |
Files not reviewed (2)
- web_ui/package-lock.json: Language not supported
- web_ui/package.json: Language not supported
Comments suppressed due to low confidence (2)
web_ui/src/pages/annotator/tools/polygon-tool/polygon-tool.interface.ts:11
- Removing the 'export' keyword restricts the interface's visibility; please verify that this change is intentional and won't affect external usage if the interface was meant to be shared.
-export interface IntelligentScissorsInstance {
web_ui/src/pages/annotator/tools/explanation-tool/select-model.component.tsx:28
- Changing the component from an exported function to a locally defined constant may impact its external availability; confirm that this change is deliberate.
-export const SelectInferenceModelPicker = (props: Omit<ComponentProps<typeof Picker>, 'children'>) => {
web_ui/src/pages/project-details/components/project-media/media-content-bucket.component.tsx
Outdated
Show resolved
Hide resolved
49bda51
to
e48f1ef
Compare
.../shared/components/dataset-import-progress/circular-progress/circular-progress.component.tsx
Show resolved
Hide resolved
df45bd7
to
ef5ad36
Compare
📝 Description
screenfull
package✨ Type of Change
Select the type of change your PR introduces:
🧪 Testing Scenarios
Describe how the changes were tested and how reviewers can test them too:
✅ Checklist
Before submitting the PR, ensure the following: